﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Lou.Client.Authentication
{
    public class Connection
    {
        public string Label { get; set; }
        public string Url { get; set; }
        public Guid SessionId { get; set; }

        public string BaseServiceUrl
        {
            get
            {
                return this.Url.Substring(0, this.Url.LastIndexOf("index.aspx")) + @"Presentation/Service.svc/ajaxEndpoint/";
            }
        }
    }
}
